﻿using JESAI.HttpRequestMonitor.Core.Abstracts;
using JESAI.HttpRequestMonitor.Core.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.HttpRequestMonitor.Core.Models
{
    public class RemoteAddressRequestTimesMonitorModel : IRemoteAddressRequestTimesMonitorModel
    {
        public string Id { get; set; }

        public IList<string> WhiteList { get; set; }

        public float WarningPercentage { get; set; }

        public string RuleId { get; set; }

        public MonitorType MonitorType => MonitorType.ToManyRequestBySingleRemoteAddress;

        public string Description { get; set; }

        public string CronExpression { get; set; }
    }
}
